<!--<?php
require_once template('header'); 
require_once template('help_left');
print <<<EOT
<!-- 右边开始 -->
	<div id="right">
		<div id="location"><p><b>$navigation</b></p></div>	
		<div class="shop_xg">
			<div class="title8"><span>$lang[buy_name]:$product[goods_name]</span></div>
			<fieldset>
				<legend>$lang[send_comment]</legend>
				<form action="comment.php" method="post" name="mvmmall_comment" class="xg2">
				<input type="hidden" name="ps_mode" value="comment_write">
				<input type="hidden" name="ps_goid" value="$id">
				<div class="xg1"><span>$lang[comment_msg]</span>$lang[send_comment]
<!--
EOT;
if($mm_comment_code==1){
print <<<EOT
-->
		$lang[captcha]：
               <input name="code" onkeyup="pressCaptcha(this)" type="text" class="inp" id="code" style="width:58px;" maxlength="8" /> <img src="ajax.php?action=code" onclick=this.src="ajax.php?action=code&"+Math.random() align="absmiddle" style="cursor: pointer;" title="$lang[click_captcha]" />
<!--
EOT;
} print <<<EOT
-->	
				</div>
				<p>$lang[subject]： <input name="subject" type="text" class="text" size="85" /></p>
				<p>$lang[comment_star]：<input id="rate_0" type="radio" name="comment_star" value=" 5" checked="checked"/><IMG alt="" src="$imgpath/Egg_5.gif">
					<input  type="radio" name="comment_star" value="4" /><IMG alt="" src="$imgpath/Egg_4.gif">
					<input type="radio" name="comment_star" value="3"/><IMG alt="" src="$imgpath/Egg_3.gif">
					<input  type="radio" name="comment_star" value="2"/><IMG alt="" src="$imgpath/Egg_2.gif">
					<input type="radio" name="comment_star" value="1" /><IMG alt="" src="$imgpath/Egg_1.gif"></p>
				<p><textarea name="comment_body" cols="70" class="text" rows="8"></textarea></p>
				<p><input class="btn2" type="submit" value="$lang[wite_announce]" /> <input type="reset" value="$lang[reset]" class="btn2"></p>
				</form>
			</fieldset>
			
			<fieldset>
				<legend>$lang[comment]</legend>
				<div class="xgpl1">
<!--评论数据循环开始-->
<!--
EOT;
foreach ($comment as $val) {
print <<<EOT
-->	  
					<dl>
						<dt><span>$lang[write_date]：$val[date] </span>$lang[buy_name]：<b> <a href="$val[url]" target="_blank">$val[goods_name]</a></b> $lang[comment_star]：<b>$val[star]</b></dt>
						<dd><a href="comment.php?action=reply&uid=$val[uid]" style="float:right;">[$lang[uesr_reply]]</a>$lang[subject]：<b>$val[title]</b></dd>
						<dd style="padding-left:36px; padding-right:25px;">$val[conter]</dd>
<!--
EOT;
if ($val[reply]!='') {
foreach ($val[reply] as $list){   
print <<<EOT
-->	 						
						<dd class="hf">
							<h3>$list[user_name] [$list[user_id]]  $list[reply_date] </h3>
							<p class="p">$list[reply_body]</p>
						</dd>
					
<!--
EOT;
}} print <<<EOT
-->	
					</dl>
<!--
EOT;
} print <<<EOT
-->				
				</div>
				<div class="page1" style="text-align:right;"><span>$lang[all_comment]：$total_count</span>$page_list</div>
			</fieldset>
		</div>
		<div class="title_b"><p></p></div>
	</div>
	<!-- 右边结束 -->
<!--
EOT;
?>-->